<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="pageContent">
    <form method="post" action="manager/add" onsubmit="return iframeCallback(this, navTabAjaxDone);" class="pageForm required-validate" enctype="multipart/form-data">
        <div class="pageFormContent">
            <p>
                <label>公司名称:</label>
                <input name="caseCompany" class="required" type="text" size="30" placeholder="请输入公司名称" />
            </p>
            <p>
                <label>装饰描述:</label>
                <input name="caseDesc" class="required" type="text" size="30" placeholder="请输入装饰描述"/>
            </p>
            <p>
                <label>公司LOGO：</label>
                <input type="file" name="photo1" class="textInput">
            </p>
            <p>
                <label>主题图片：</label>
                <input type="file" name="photo2" class="textInput">
            </p>
        </div>
        <%--<div>--%>
            <label>装修类型:</label></br>
            <c:forEach items="${bigTypeList}" var="typeList">
                &nbsp;&nbsp;${typeList.caseBigType}:
                <c:forEach items="${caseLableList}" var="lableList">
                    <c:if test="${typeList.bigTypeId == lableList.bigTypeId}">
                        <input type="checkbox" name="lableId" value="${lableList.lableId}">&nbsp;${lableList.caseLable}
                    </c:if>
                </c:forEach></br></br>
            </c:forEach>
        <%--</div>--%>
        <p>
            <label>页面展示图片:</label>
            <input type="file" name="photo3" class="textInput">
        </p>
        <p>
            <label>装修案例总数:</label>
            <input name="showNum" class="required" type="text" size="30" placeholder="请输入真实专修案例" />
        </p>
        <p>
            <label>装修产品区域:</label>
            <input name="serverArea" class="required" type="text" size="30" placeholder="请输入公司名称" />
        </p>
        <p>
            <label>装修产品描述:</label>
            <%--<input name="showComment" class="required" type="text" size="30" placeholder="请输入产品简要描述" />--%>
            <textarea name="showComment" class="required" ></textarea>
        </p>
        <p>
        <div class="unit">
            <label>上传多个文件:</label>
            <ul id="upload-preview" class="upload-preview"></ul>
            <div class="upload-wrap" rel="#upload-preview">
                <input type="file" name="fileName" accept="image/*" multiple="multiple">
            </div>
        </div>
        </p>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
                <li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
            </ul>
        </div>
    </form>
</div>

